home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Auge 4000 / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).zip / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).adf / ARP-DOCS1.3 / Status < prev    next >
Text File  |  1990-06-22  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4.      Status(V1.3)            ARP User's Manual            Status(V1.3)
  5.  
  6.  
  7.  
  8.      NAME
  9.           Status - Display the currently running CLI processes.
  10.  
  11.      SYNOPSIS
  12.           Status Process F=FULL/s TCB/s CLI=ALL/s COMMAND/k
  13.  
  14.      DESCRIPTION
  15.           The most common use of Status is to find what background
  16.           processes are still executing, this can be in preparation to
  17.           sending them a signal with Break, or to find out if all your
  18.           programs are completed before turning off the computer.  The
  19.           various options to this command display information which
  20.           may or may not be useful, depending on your needs.  The
  21.           default behavior of Status is to display the CLI numbers and
  22.           names of all currently active processes. You can get
  23.           information on a specific process by typing Status <cli
  24.           number>.
  25.  
  26.           You can also find out if a specific command is executing
  27.           using the COMMAND keyword.  This can be useful in scripts,
  28.           since if the command is NOT found, the WARN fail level will
  29.           be set.  Otherwise, a 0 fail level is returned.  This is
  30.           useful with shells that support command substitution to do
  31.           things like send BREAK codes to processes.
  32.  
  33.      EXAMPLE
  34.           Status FULL ; find out everything about all executing
  35.           processes.
  36.  
  37.           Here is an example using command substitution that will send
  38.           a break to the process executing the ClockPtr command:
  39.  
  40.           Break $(Status Command ClockPtr)
  41.  
  42.           Note that the above assumes you are using ASH.  You might
  43.           find it interesting to compare this example with the more
  44.           complex one given in the 1.3 Enhancer manual.
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/28/89)
  64.  
  65.  
  66.  
  67.